package com.course.server.enums;

import lombok.Getter;

/**
 * @author: Durian
 * @date: 2021/5/1 22:25
 */
@Getter
public enum ConfirmEnum {

    YES(1, "是"),
    NO(0, "否");

    private Integer code;
    private String desc;

    ConfirmEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
